<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>一天一个想法</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta property="og:type" content="website">
<meta property="og:title" content="一天一个想法">
<meta property="og:url" content="https://www.yitianyigexiangfa.com/page/2/index.html">
<meta property="og:site_name" content="一天一个想法">
<meta property="og:locale">
<meta property="article:author" content="刘备">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/atom.xml" title="一天一个想法" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">

  
  
<meta name="generator" content="Hexo 6.3.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">一天一个想法</a>
      </h1>
      
        <h2 id="subtitle-wrap">
          <a href="/" id="subtitle">人间烟火气，最抚凡人心</a>
        </h2>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"><span class="fa fa-bars"></span></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
        
          <a class="nav-icon" href="/atom.xml" title="RSS Feed"><span class="fa fa-rss"></span></a>
        
        <a class="nav-icon nav-search-btn" title="Search"><span class="fa fa-search"></span></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="https://www.yitianyigexiangfa.com"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main">
  
    <article id="post-计算机科学知识体系" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2023/04/13/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" class="article-date">
  <time class="dt-published" datetime="2023-04-13T06:58:00.000Z" itemprop="datePublished">2023-04-13</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2023/04/13/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/">计算机科学知识体系</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <ul>
<li><a target="_blank" rel="noopener" href="https://en.wikipedia.org/wiki/OSI_model">OSI网络模型</a></li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2023/04/13/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" data-id="clmk3oj5c002s08ny38zhh3hd" data-title="计算机科学知识体系" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" rel="tag">知识体系</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-读《长安的荔枝》" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2023/04/05/%E8%AF%BB%E3%80%8A%E9%95%BF%E5%AE%89%E7%9A%84%E8%8D%94%E6%9E%9D%E3%80%8B/" class="article-date">
  <time class="dt-published" datetime="2023-04-05T11:00:00.000Z" itemprop="datePublished">2023-04-05</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2023/04/05/%E8%AF%BB%E3%80%8A%E9%95%BF%E5%AE%89%E7%9A%84%E8%8D%94%E6%9E%9D%E3%80%8B/">读《长安的荔枝》</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <ul>
<li>为什么李善德想放弃这个任务而去逃命</li>
<li>杜甫是怎么安慰李善德的</li>
<li>到了岭南之后，李善德是怎么找到钱的</li>
<li>李善德是怎么找到最会种荔枝的人的</li>
<li>李善德是怎么记录荔枝运输情况与荔枝味道变化情况的</li>
<li>为什么岭南的官想要杀害李善德</li>
<li>李善德是怎么认识杨国忠的</li>
<li>为什么完成了任务，李善德没有获得奖赏反而被发配到岭南</li>
<li>被发配到了岭南，反而避免了长安失守的影响，是福是祸</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2023/04/05/%E8%AF%BB%E3%80%8A%E9%95%BF%E5%AE%89%E7%9A%84%E8%8D%94%E6%9E%9D%E3%80%8B/" data-id="clmk3oj5f002z08nyh8wb2a8w" data-title="读《长安的荔枝》" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/" rel="tag">读书笔记</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E9%95%BF%E5%AE%89%E7%9A%84%E8%8D%94%E6%9E%9D/" rel="tag">长安的荔枝</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-小爹教我的知识" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2023/02/27/%E5%B0%8F%E7%88%B9%E6%95%99%E6%88%91%E7%9A%84%E7%9F%A5%E8%AF%86/" class="article-date">
  <time class="dt-published" datetime="2023-02-27T22:36:00.000Z" itemprop="datePublished">2023-02-27</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2023/02/27/%E5%B0%8F%E7%88%B9%E6%95%99%E6%88%91%E7%9A%84%E7%9F%A5%E8%AF%86/">小爹教我的知识</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <ul>
<li>小爹是我们老家对奶奶的称呼</li>
<li>算盘口诀</li>
<li>小爹版本的鸡兔同笼</li>
</ul>
<h3 id="鸡蛋"><a href="#鸡蛋" class="headerlink" title="鸡蛋"></a>鸡蛋</h3><ul>
<li>有一次和小爹一起在中百仓储卖菜的区域逛，看到标着土鸡蛋的鸡蛋，奶奶说这不是土鸡蛋，我纠正说这里写着是土鸡蛋，后来想到奶奶每天和鸡打交道，不用看字直接看鸡蛋就能知道是不是土鸡蛋</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2023/02/27/%E5%B0%8F%E7%88%B9%E6%95%99%E6%88%91%E7%9A%84%E7%9F%A5%E8%AF%86/" data-id="clmk3oj4s001u08ny9ibc8fjk" data-title="小爹教我的知识" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%A5%B6%E5%A5%B6/" rel="tag">奶奶</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-前端知识体系" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2023/02/27/%E5%89%8D%E7%AB%AF%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" class="article-date">
  <time class="dt-published" datetime="2023-02-27T22:31:00.000Z" itemprop="datePublished">2023-02-27</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2023/02/27/%E5%89%8D%E7%AB%AF%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/">前端知识体系</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <ul>
<li><a target="_blank" rel="noopener" href="https://leetcode.cn/circle/discuss/jE87x7/">javascript 14天挑战</a></li>
</ul>
<h2 id="前端知识体系"><a href="#前端知识体系" class="headerlink" title="前端知识体系"></a>前端知识体系</h2><ul>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Learn/Getting_started_with_the_web">MDN上的web入门教程</a></li>
<li><a target="_blank" rel="noopener" href="https://angular.cn/start">Angular入门教程</a> <a target="_blank" rel="noopener" href="https://react.dev/learn/tutorial-tic-tac-toe">react</a> <a target="_blank" rel="noopener" href="https://vuejs.org/guide/quick-start.html#creating-a-vue-application">vue</a></li>
<li><a target="_blank" rel="noopener" href="https://codelabs.developers.google.com/introduction-to-angular?hl=zh-cn#3">Google提供的Angular入门教程</a></li>
<li><a target="_blank" rel="noopener" href="https://www.typescriptlang.org/">TypeScript</a></li>
<li><a target="_blank" rel="noopener" href="https://docs.npmjs.com/getting-started">npm</a></li>
<li><a target="_blank" rel="noopener" href="http://nginx.org/en/docs/beginners_guide.html">nginx</a></li>
<li><a target="_blank" rel="noopener" href="https://code.visualstudio.com/docs">visual studio code</a></li>
<li><a target="_blank" rel="noopener" href="https://v8.dev/docs">chrome V8</a></li>
<li><a target="_blank" rel="noopener" href="https://es6.ruanyifeng.com/">阮一峰的ES6教程</a></li>
<li>UI库：<a target="_blank" rel="noopener" href="http://ng.ant.design/components/overview/zh">Ant Design of Angular</a>, <a target="_blank" rel="noopener" href="https://v3.mui.com/getting-started/usage/">Material-UI</a></li>
</ul>
<h2 id="javascript基础语法"><a href="#javascript基础语法" class="headerlink" title="javascript基础语法"></a>javascript基础语法</h2><ul>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Grammar_and_types#%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E5%92%8C%E7%B1%BB%E5%9E%8B">语法和数据类型</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Control_flow_and_error_handling">流程控制与错误处理</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Loops_and_iteration">循环与迭代</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Functions">函数</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Expressions_and_operators">表达式与运算符</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Numbers_and_dates">数字与日期</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Text_formatting">字符串</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Regular_Expressions">正则表达式</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Indexed_collections">数组</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Keyed_collections">Map</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Working_with_Objects">对象</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_classes">Class</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Using_promises">Promise</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/debugger">debugger表达式</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/JavaScript_technologies_overview">在线编辑js的网站</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Lexical_grammar">javascript词法文法</a></li>
</ul>
<h2 id="Angular中使用到的Observable和RxJS"><a href="#Angular中使用到的Observable和RxJS" class="headerlink" title="Angular中使用到的Observable和RxJS"></a>Angular中使用到的Observable和RxJS</h2><ul>
<li><a target="_blank" rel="noopener" href="https://angular.cn/guide/observables">Observable概览</a></li>
<li><a target="_blank" rel="noopener" href="https://angular.cn/guide/rx-library">RxJS库</a></li>
<li><a target="_blank" rel="noopener" href="https://angular.cn/guide/observables-in-angular">Angular中的Observable</a></li>
<li><a target="_blank" rel="noopener" href="https://angular.cn/guide/practical-observable-usage">实际运用</a></li>
<li><a target="_blank" rel="noopener" href="https://angular.cn/guide/comparing-observables">与Promise的比较</a></li>
</ul>
<h2 id="TypeScript"><a href="#TypeScript" class="headerlink" title="TypeScript"></a>TypeScript</h2><ul>
<li><a target="_blank" rel="noopener" href="https://www.typescriptlang.org/play">Play</a></li>
<li><a target="_blank" rel="noopener" href="https://www.typescriptlang.org/zh/docs/handbook/typescript-in-5-minutes.html">为JS程序员准备的TypeScript介绍</a></li>
</ul>
<h2 id="UI"><a href="#UI" class="headerlink" title="UI"></a>UI</h2><ul>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Learn/Getting_started_with_the_web/HTML_basics">HTML基础</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Learn/HTML/Tables">HTML表格</a></li>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Learn/Forms/How_to_structure_a_web_form">表单</a></li>
</ul>
<h2 id="visual-studio-code"><a href="#visual-studio-code" class="headerlink" title="visual studio code"></a>visual studio code</h2><ul>
<li><a target="_blank" rel="noopener" href="https://code.visualstudio.com/docs/editor/codebasics">基本的编辑</a></li>
<li><a target="_blank" rel="noopener" href="https://code.visualstudio.com/docs/editor/editingevolved">代码导航</a></li>
<li><a target="_blank" rel="noopener" href="https://vscode.dev/">网页版vscode</a></li>
<li><a target="_blank" rel="noopener" href="https://code.visualstudio.com/docs/sourcecontrol/intro-to-git">在vscode上使用git进行版本管理</a></li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2023/02/27/%E5%89%8D%E7%AB%AF%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" data-id="clmk3oj45001908ny4jztb7ut" data-title="前端知识体系" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%89%8D%E7%AB%AF/" rel="tag">前端</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" rel="tag">知识体系</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-leetcode733图像渲染刷题笔记" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2023/01/20/leetcode733%E5%9B%BE%E5%83%8F%E6%B8%B2%E6%9F%93%E5%88%B7%E9%A2%98%E7%AC%94%E8%AE%B0/" class="article-date">
  <time class="dt-published" datetime="2023-01-20T07:00:00.000Z" itemprop="datePublished">2023-01-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2023/01/20/leetcode733%E5%9B%BE%E5%83%8F%E6%B8%B2%E6%9F%93%E5%88%B7%E9%A2%98%E7%AC%94%E8%AE%B0/">leetcode733图像渲染刷题笔记</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h2 id="图像渲染"><a href="#图像渲染" class="headerlink" title="图像渲染"></a><a target="_blank" rel="noopener" href="https://leetcode.cn/problems/flood-fill/">图像渲染</a></h2><blockquote>
<p>有一幅以 m x n 的二维整数数组表示的图画 image ，其中 image[i][j] 表示该图画的像素值大小。<br>你也被给予三个整数 sr ,  sc 和 newColor 。你应该从像素 image[sr][sc] 开始对图像进行 上色填充 。<br>为了完成 上色工作 ，从初始像素开始，记录初始坐标的 上下左右四个方向上 像素值与初始坐标相同的相连像素点，接着再记录这四个方向上符合条件的像素点与他们对应 四个方向上 像素值与初始坐标相同的相连像素点，……，重复该过程。将所有有记录的像素点的颜色值改为 newColor 。<br>最后返回 经过上色渲染后的图像 。</p>
</blockquote>
<h3 id="题目分析"><a href="#题目分析" class="headerlink" title="题目分析"></a>题目分析</h3><p>列出自己想到的线索</p>
<ul>
<li>维护一个存储要检查的点的集合，toBeChecked</li>
</ul>
<h3 id="根据题解进行分析"><a href="#根据题解进行分析" class="headerlink" title="根据题解进行分析"></a>根据题解进行分析</h3><ul>
<li>题解里看到这道题的最佳解法是使用DFS(深度优先搜索)</li>
<li>搜索了一下DFS，DFS里可以通过自己调用自己的方法，也就是递归来实现</li>
</ul>
<h3 id="递归"><a href="#递归" class="headerlink" title="递归"></a>递归</h3><ul>
<li>递归的特点就是自己调用自己</li>
<li>递归由两部分组成：（1）递归操作 （2）递归终止条件</li>
</ul>
<h4 id="一个最简单的递归"><a href="#一个最简单的递归" class="headerlink" title="一个最简单的递归"></a>一个最简单的递归</h4><ul>
<li>计算从1，2，3公差为1的等差数列前n项和的程序<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">/**</span></span><br><span class="line"><span class="comment"> * 递归操作，进行一次加法操作</span></span><br><span class="line"><span class="comment"> * 递归终止条件，当前的数字等于1</span></span><br><span class="line"><span class="comment"> */</span></span><br><span class="line"><span class="keyword">public</span> <span class="type">int</span> <span class="title function_">sum</span><span class="params">(<span class="type">int</span> n)</span> &#123;</span><br><span class="line">    <span class="type">int</span> <span class="variable">sum</span> <span class="operator">=</span> <span class="number">0</span>;</span><br><span class="line">    <span class="keyword">if</span> (n == <span class="number">1</span>) &#123;</span><br><span class="line">        sum += <span class="number">1</span>;</span><br><span class="line">    &#125; <span class="keyword">else</span> &#123;</span><br><span class="line">        sum = sum(n - <span class="number">1</span>) + n;</span><br><span class="line">    &#125;</span><br><span class="line">    <span class="keyword">return</span> sum;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
</ul>
<h4 id="递归增加"><a href="#递归增加" class="headerlink" title="递归增加"></a>递归增加</h4><ul>
<li>计算从1，7，13公差为6的等差数列前n项和的程序<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="type">int</span> <span class="title function_">sum6</span><span class="params">(<span class="type">int</span> n)</span>&#123;</span><br><span class="line">    <span class="type">int</span> <span class="variable">sum</span> <span class="operator">=</span> <span class="number">0</span>;</span><br><span class="line">    <span class="keyword">if</span>(n == <span class="number">1</span>)&#123;</span><br><span class="line">        sum += n;</span><br><span class="line">    &#125;<span class="keyword">else</span>&#123;</span><br><span class="line">        sum = sum6(n - <span class="number">6</span>) + n;</span><br><span class="line">    &#125;</span><br><span class="line">    <span class="keyword">return</span> sum;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
</ul>
<h4 id="使用递归来解决这道题"><a href="#使用递归来解决这道题" class="headerlink" title="使用递归来解决这道题"></a>使用递归来解决这道题</h4><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">/**</span></span><br><span class="line"><span class="comment"> * <span class="doctag">@param</span> image 二维数组来代表原始的图片</span></span><br><span class="line"><span class="comment"> * <span class="doctag">@param</span> sr 目标点的行号</span></span><br><span class="line"><span class="comment"> * <span class="doctag">@param</span> sc 目标点的列号</span></span><br><span class="line"><span class="comment"> * <span class="doctag">@param</span> color 目标点的新颜色</span></span><br><span class="line"><span class="comment"> * <span class="doctag">@return</span> 上好色的图片</span></span><br><span class="line"><span class="comment"> */</span></span><br><span class="line"><span class="keyword">public</span> <span class="type">int</span>[][] floodFill(<span class="type">int</span>[][] image, <span class="type">int</span> sr, <span class="type">int</span> sc, <span class="type">int</span> color) &#123;</span><br><span class="line">    <span class="type">int</span> <span class="variable">oldColor</span> <span class="operator">=</span> image[sr][sc];</span><br><span class="line">    dfs(image, oldColor, sr, sc, color);</span><br><span class="line">    <span class="keyword">return</span> image;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="comment">/**</span></span><br><span class="line"><span class="comment"> * 递归</span></span><br><span class="line"><span class="comment"> * 递归操作：</span></span><br><span class="line"><span class="comment"> * 1. dfs 行号 - 1</span></span><br><span class="line"><span class="comment"> * 2. dfs 行号 + 1</span></span><br><span class="line"><span class="comment"> * 3. dfs 列号 - 1</span></span><br><span class="line"><span class="comment"> * 4. dfs 列号 + 1</span></span><br><span class="line"><span class="comment"> * 递归终止条件：</span></span><br><span class="line"><span class="comment"> * 1. 当前的行号&lt;0</span></span><br><span class="line"><span class="comment"> * 2. 当前的列号&lt;0</span></span><br><span class="line"><span class="comment"> * 3. 当前的行号&gt;行长</span></span><br><span class="line"><span class="comment"> * 4. 当前的列号&gt;行宽</span></span><br><span class="line"><span class="comment"> * 5. 当前的颜色不等于oldColor</span></span><br><span class="line"><span class="comment"> * 6. 当前的颜色等于新颜色</span></span><br><span class="line"><span class="comment"> * return;</span></span><br><span class="line"><span class="comment"> */</span></span><br><span class="line"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title function_">dfs</span><span class="params">(<span class="type">int</span>[][] image, <span class="type">int</span> oldColor, <span class="type">int</span> sr, <span class="type">int</span> sc, <span class="type">int</span> newColor)</span> &#123;</span><br><span class="line">    <span class="type">int</span> <span class="variable">rLength</span> <span class="operator">=</span> image.length;</span><br><span class="line">    <span class="type">int</span> <span class="variable">cLength</span> <span class="operator">=</span> image[<span class="number">0</span>].length;</span><br><span class="line">    <span class="keyword">if</span>(sr &lt; <span class="number">0</span> || sc &lt; <span class="number">0</span> || sr &gt;= rLength || sc &gt;= cLength || image[sr][sc] != oldColor || image[sr][sc] == newColor)&#123;</span><br><span class="line">        <span class="keyword">return</span>;</span><br><span class="line">    &#125;</span><br><span class="line">    image[sr][sc] = newColor;</span><br><span class="line"></span><br><span class="line">    dfs(image, oldColor, sr - <span class="number">1</span>, sc, newColor);</span><br><span class="line">    dfs(image, oldColor, sr + <span class="number">1</span>, sc, newColor);</span><br><span class="line">    dfs(image, oldColor, sr, sc - <span class="number">1</span>, newColor);</span><br><span class="line">    dfs(image, oldColor, sr, sc + <span class="number">1</span>, newColor);</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<h3 id="二叉树的前序遍历、中序遍历、后续遍历"><a href="#二叉树的前序遍历、中序遍历、后续遍历" class="headerlink" title="二叉树的前序遍历、中序遍历、后续遍历"></a>二叉树的前序遍历、中序遍历、后续遍历</h3><ul>
<li>dfs深度优先搜索最基础的应用应该就是用在二叉树的前中后序遍历上</li>
<li>如下为通过递归实现二叉树前序遍历的代码<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">/**</span></span><br><span class="line"><span class="comment"> * Definition for a binary tree node.</span></span><br><span class="line"><span class="comment"> * public class TreeNode &#123;</span></span><br><span class="line"><span class="comment"> *     int val;</span></span><br><span class="line"><span class="comment"> *     TreeNode left;</span></span><br><span class="line"><span class="comment"> *     TreeNode right;</span></span><br><span class="line"><span class="comment"> *     TreeNode() &#123;&#125;</span></span><br><span class="line"><span class="comment"> *     TreeNode(int val) &#123; this.val = val; &#125;</span></span><br><span class="line"><span class="comment"> *     TreeNode(int val, TreeNode left, TreeNode right) &#123;</span></span><br><span class="line"><span class="comment"> *         this.val = val;</span></span><br><span class="line"><span class="comment"> *         this.left = left;</span></span><br><span class="line"><span class="comment"> *         this.right = right;</span></span><br><span class="line"><span class="comment"> *     &#125;</span></span><br><span class="line"><span class="comment"> * &#125;</span></span><br><span class="line"><span class="comment"> */</span></span><br><span class="line"><span class="keyword">class</span> <span class="title class_">Solution</span> &#123;</span><br><span class="line">    <span class="keyword">private</span> List&lt;Integer&gt; list = <span class="keyword">new</span> <span class="title class_">ArrayList</span>&lt;&gt;();</span><br><span class="line"></span><br><span class="line">    <span class="keyword">public</span> List&lt;Integer&gt; <span class="title function_">preorderTraversal</span><span class="params">(TreeNode root)</span> &#123;</span><br><span class="line">        <span class="keyword">if</span>(root != <span class="literal">null</span>)&#123;</span><br><span class="line">            list.add(root.val);</span><br><span class="line">        &#125;</span><br><span class="line">        </span><br><span class="line">        <span class="keyword">if</span> (root != <span class="literal">null</span> &amp;&amp; root.left != <span class="literal">null</span>) &#123;</span><br><span class="line">            preorderTraversal(root.left);</span><br><span class="line">        &#125;</span><br><span class="line"></span><br><span class="line">        <span class="keyword">if</span> (root != <span class="literal">null</span> &amp;&amp; root.right != <span class="literal">null</span>) &#123;</span><br><span class="line">            preorderTraversal(root.right);</span><br><span class="line">        &#125;</span><br><span class="line">        <span class="keyword">return</span> list;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
</ul>
<h3 id="八皇后问题"><a href="#八皇后问题" class="headerlink" title="八皇后问题"></a>八皇后问题</h3><ul>
<li>题目<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">class</span> <span class="title class_">Solution</span> &#123;</span><br><span class="line">    <span class="keyword">public</span> List&lt;List&lt;String&gt;&gt; <span class="title function_">solveNQueens</span><span class="params">(<span class="type">int</span> n)</span> &#123;</span><br><span class="line"></span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
</ul>
<h4 id="题意"><a href="#题意" class="headerlink" title="题意"></a>题意</h4><ul>
<li>入参n代表棋盘行的个数，列的个数，要摆放的皇后的个数</li>
<li>输出字符串集合，点表示不放置棋子，Q表示放置皇后</li>
</ul>
<h4 id="解题思路"><a href="#解题思路" class="headerlink" title="解题思路"></a>解题思路</h4><ul>
<li>定义属性，二维数组board[n][n], 解法编号count</li>
<li>定义行为，isValid(), printBoard</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2023/01/20/leetcode733%E5%9B%BE%E5%83%8F%E6%B8%B2%E6%9F%93%E5%88%B7%E9%A2%98%E7%AC%94%E8%AE%B0/" data-id="clmk3oj3j000d08ny5rlpf42c" data-title="leetcode733图像渲染刷题笔记" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/leetcode/" rel="tag">leetcode</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-你的笑容就是天上的太阳" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2022/11/28/%E4%BD%A0%E7%9A%84%E7%AC%91%E5%AE%B9%E5%B0%B1%E6%98%AF%E5%A4%A9%E4%B8%8A%E7%9A%84%E5%A4%AA%E9%98%B3/" class="article-date">
  <time class="dt-published" datetime="2022-11-28T23:00:00.000Z" itemprop="datePublished">2022-11-28</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2022/11/28/%E4%BD%A0%E7%9A%84%E7%AC%91%E5%AE%B9%E5%B0%B1%E6%98%AF%E5%A4%A9%E4%B8%8A%E7%9A%84%E5%A4%AA%E9%98%B3/">你的笑容就是天上的太阳</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p><img src="https://obs202211121201.obs.cn-north-4.myhuaweicloud.com/my_daughter_20221128225551.jpg" alt="刘艺寒"></p>
<ul>
<li>你的笑容就是天上的太阳，温暖我和妈妈的内心</li>
<li>寒寒，妈妈爱你，晚安</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2022/11/28/%E4%BD%A0%E7%9A%84%E7%AC%91%E5%AE%B9%E5%B0%B1%E6%98%AF%E5%A4%A9%E4%B8%8A%E7%9A%84%E5%A4%AA%E9%98%B3/" data-id="clmk3oj3w001108ny1j2jet1u" data-title="你的笑容就是天上的太阳" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%88%98%E8%89%BA%E5%AF%92/" rel="tag">刘艺寒</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-spring framework进行AOP编程" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2022/03/22/spring%20framework%E8%BF%9B%E8%A1%8CAOP%E7%BC%96%E7%A8%8B/" class="article-date">
  <time class="dt-published" datetime="2022-03-22T08:20:00.000Z" itemprop="datePublished">2022-03-22</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2022/03/22/spring%20framework%E8%BF%9B%E8%A1%8CAOP%E7%BC%96%E7%A8%8B/">spring framework中进行AOP编程</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h3 id="通过注解实现面向切片编程的核心步骤"><a href="#通过注解实现面向切片编程的核心步骤" class="headerlink" title="通过注解实现面向切片编程的核心步骤"></a>通过注解实现面向切片编程的核心步骤</h3><ul>
<li>定义注解</li>
<li>实现解析注解的代码</li>
<li>使用注解</li>
</ul>
<h3 id="定义注解"><a href="#定义注解" class="headerlink" title="定义注解"></a>定义注解</h3><h4 id="声明的方式"><a href="#声明的方式" class="headerlink" title="声明的方式"></a>声明的方式</h4><ul>
<li>对于JavaType.java文件，我们常用的是用来声明类（class）或接口（interface）<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="keyword">class</span> <span class="title class_">JavaType</span>&#123;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
或者<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="keyword">interface</span> <span class="title class_">JavaType</span>&#123;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
这里我们使用@interface来定义一个annnotation注解<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="meta">@interface</span> JavaType&#123;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
</ul>
<h4 id="在-interface上使用注解"><a href="#在-interface上使用注解" class="headerlink" title="在@interface上使用注解"></a>在@interface上使用注解</h4><h5 id="Target注解"><a href="#Target注解" class="headerlink" title="@Target注解"></a>@Target注解</h5><ul>
<li>用来声明注解的使用目标，常见@Target的值有：ElementType.Method用于方法，ElementType.Type用于类型（包括java类、接口、注解）， ElementType.Parameter用于方法参数，还有更多枚举可以从ElementType中找到具体定义<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@Target(ElementType.METHOD)</span></span><br><span class="line"><span class="keyword">public</span> <span class="keyword">interface</span> <span class="title class_">JavaType</span>&#123;&#125;</span><br></pre></td></tr></table></figure></li>
</ul>
<h5 id="Retention注解"><a href="#Retention注解" class="headerlink" title="@Retention注解"></a>@Retention注解</h5><ul>
<li>使用有道词典翻译是保持力的名词意思，此注解的@Target声明的是ANNOTATION_TYPE，用于为注解类型提供声明</li>
<li>@Retention配置的值从RetentionPolicy.java枚举中选择，可选值为SOURCE，CLASS，RUNTIME</li>
<li>SOURCE定义的注解保留在源代码中，不编译到Class中去，如@Override和@SuppressWarnings注解使用本策略</li>
<li>CLASS定义的注解会保留到class文件，但是运行期间不会识别此注解</li>
<li>RUNTIME定义的注解会被保留到class文件中，同时运行期间也会被识别，AOP中使用的注解一般情况下使用本策略</li>
</ul>
<h5 id="Documented"><a href="#Documented" class="headerlink" title="@Documented"></a>@Documented</h5><ul>
<li>用于javadoc的一个注解，声明注解时使用了本注解时，在到处javadoc时，在javadoc中就能看到目标的注解声明</li>
</ul>
<h4 id="在一个注解中定义方法"><a href="#在一个注解中定义方法" class="headerlink" title="在一个注解中定义方法"></a>在一个注解中定义方法</h4><ul>
<li>定义一：基本使用，使用default关键字<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> java.lang.annotation.*;</span><br><span class="line"></span><br><span class="line"><span class="meta">@Target(ElementType.METHOD)</span></span><br><span class="line"><span class="meta">@Retention(RetentionPolicy.RUNTIME)</span></span><br><span class="line"><span class="meta">@Documented</span></span><br><span class="line"><span class="keyword">public</span> <span class="meta">@interface</span> JavaType &#123;</span><br><span class="line">    String <span class="title function_">value</span><span class="params">()</span> <span class="keyword">default</span> <span class="string">&quot;&quot;</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
<li>使用一<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="keyword">class</span> <span class="title class_">Test</span>&#123;</span><br><span class="line">    <span class="meta">@JavaType(&quot;value&quot;)</span></span><br><span class="line">    <span class="keyword">public</span> <span class="keyword">void</span> <span class="title function_">typeA</span><span class="params">()</span>&#123;&#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
<li>关键字default指定默认值，默认值必须是与元素的数据类型兼容的类型</li>
<li>定义二: 使用枚举<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> java.lang.annotation.*;</span><br><span class="line"></span><br><span class="line"><span class="meta">@Target(ElementType.METHOD)</span></span><br><span class="line"><span class="meta">@Retention(RetentionPolicy.RUNTIME)</span></span><br><span class="line"><span class="meta">@Documented</span></span><br><span class="line"><span class="keyword">public</span> <span class="meta">@interface</span> JavaType &#123;</span><br><span class="line">    RetentionPolicy <span class="title function_">value</span><span class="params">()</span> <span class="keyword">default</span> RetentionPolicy.RUNTIME;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
<li>使用二<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> java.lang.annotation.RetentionPolicy;</span><br><span class="line"></span><br><span class="line"><span class="keyword">public</span> <span class="keyword">class</span> <span class="title class_">Test</span> &#123;</span><br><span class="line">    <span class="meta">@JavaType(RetentionPolicy.CLASS)</span></span><br><span class="line">    <span class="keyword">public</span> <span class="keyword">void</span> <span class="title function_">typeA</span><span class="params">()</span> &#123;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
<li>定义三：使用数组<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> java.lang.annotation.*;</span><br><span class="line"></span><br><span class="line"><span class="meta">@Target(ElementType.ANNOTATION_TYPE)</span></span><br><span class="line"><span class="meta">@Retention(RetentionPolicy.RUNTIME)</span></span><br><span class="line"><span class="meta">@Documented</span></span><br><span class="line"><span class="keyword">public</span> <span class="meta">@interface</span> Target &#123;</span><br><span class="line">    ElementType[] value();</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
<li>使用三</li>
</ul>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> java.lang.annotation.ElementType;</span><br><span class="line"><span class="keyword">import</span> java.lang.annotation.Target;</span><br><span class="line"></span><br><span class="line"><span class="meta">@Target(&#123;ElementType.METHOD, ElementType.TYPE&#125;)</span></span><br><span class="line"><span class="keyword">public</span> <span class="meta">@interface</span> JavaType &#123;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2022/03/22/spring%20framework%E8%BF%9B%E8%A1%8CAOP%E7%BC%96%E7%A8%8B/" data-id="clmk3oj3o000n08nyd9g4dnw0" data-title="spring framework中进行AOP编程" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/spring/" rel="tag">spring</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-webgoat环境搭建" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/11/28/webgoat%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/" class="article-date">
  <time class="dt-published" datetime="2021-11-28T12:21:00.000Z" itemprop="datePublished">2021-11-28</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/11/28/webgoat%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/">webgoat环境搭建</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p><img src="https://obs202211121201.obs.cn-north-4.myhuaweicloud.com/xiangchang.JPG" alt="芹菜炒香肠"></p>
<h3 id="为什么想写研究webgoat，想写这篇文章"><a href="#为什么想写研究webgoat，想写这篇文章" class="headerlink" title="为什么想写研究webgoat，想写这篇文章"></a>为什么想写研究webgoat，想写这篇文章</h3><ul>
<li>最近听到一个词，叫“bounty hacker”，赏金黑客，通过提交安全漏洞获得赏金的人，这种挣钱方式看起来很酷，webgoat又是开源的由java开发的web靶场，所以就开始了</li>
</ul>
<h3 id="环境搭建"><a href="#环境搭建" class="headerlink" title="环境搭建"></a>环境搭建</h3><ul>
<li>webgoat就是一个java web工程，用启动java web的方式启动就可以</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2021/11/28/webgoat%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/" data-id="clmk3oj3q000r08nyf2x01km9" data-title="webgoat环境搭建" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/webgoat/" rel="tag">webgoat</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%B8%97%E9%80%8F%E6%B5%8B%E8%AF%95/" rel="tag">渗透测试</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" rel="tag">网络安全</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-Git教程" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/05/23/Git%E6%95%99%E7%A8%8B/" class="article-date">
  <time class="dt-published" datetime="2021-05-23T10:49:00.000Z" itemprop="datePublished">2021-05-23</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/05/23/Git%E6%95%99%E7%A8%8B/">Git教程</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h4 id="git知识"><a href="#git知识" class="headerlink" title="git知识"></a>git知识</h4><ul>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/giteveryday">git everyday</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs">Git doc入口</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-config">git安装后的配置</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-init">git通过init命令创建一个git仓库</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-add">git add为代表的git操作</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-checkout">git checkout为代表的git分支相关操作</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-pull">git pull为代表的git与远程仓库交互的操作</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-log">git log为代表的git检视命令</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-cherry-pick">cherry-pick为代表的git补丁相关的命令</a></li>
<li><a target="_blank" rel="noopener" href="https://git-scm.com/docs/githooks">CI里会用到的git hook</a></li>
</ul>
<h3 id="Git快速上手"><a href="#Git快速上手" class="headerlink" title="Git快速上手"></a>Git快速上手</h3><ul>
<li>git的仓库：Github、gitee、腾讯云Coding等等</li>
<li>【fork按钮】fork代码到自己的namespace</li>
<li>【git clone】从仓库下载代码到本地：git clone <a target="_blank" rel="noopener" href="https://github.com/JavaProgrammerLB/spring-framework.git">https://github.com/JavaProgrammerLB/spring-framework.git</a></li>
<li>【git status】查看未修改的代码  </li>
<li>【git add -A】添加修改</li>
<li>【git commit -m “修改处理逻辑”】提交</li>
<li>【git push】推送</li>
</ul>
<h3 id="gitignore"><a href="#gitignore" class="headerlink" title=".gitignore"></a>.gitignore</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"># 忽略单个文件</span><br><span class="line">HELP.md</span><br><span class="line"># 忽略文件夹</span><br><span class="line">.idea</span><br><span class="line">target</span><br><span class="line"># 忽略后缀特征的文件</span><br><span class="line">*.iml</span><br></pre></td></tr></table></figure>

<h3 id="Git分支相关命令"><a href="#Git分支相关命令" class="headerlink" title="Git分支相关命令"></a><a target="_blank" rel="noopener" href="https://git-scm.com/docs/git-branch">Git分支</a>相关命令</h3><ul>
<li>【列出本地分支】git branch</li>
<li>【列出所有分支】git branch -a</li>
<li>【创建分支】git branch dev</li>
<li>【切换分支】git checkout dev</li>
<li>【创建并切换到分支】git checkout -b bug_fix  </li>
<li>【把本地新建分支推送到远程的新分支】git push origin bug_fix  </li>
<li>【分支合并】git merge master</li>
</ul>
<h3 id="工作区、暂存区、分支"><a href="#工作区、暂存区、分支" class="headerlink" title="工作区、暂存区、分支"></a>工作区、暂存区、分支</h3><ul>
<li>【工作区】本地</li>
<li>【暂存区】git add readme.txt</li>
<li>【分支】git commit -m “新增readme”</li>
</ul>
<h3 id="将暂存区文件恢复到工作区"><a href="#将暂存区文件恢复到工作区" class="headerlink" title="将暂存区文件恢复到工作区"></a>将暂存区文件恢复到工作区</h3><ul>
<li>git add a.txt</li>
<li>git add b.txt</li>
<li>git reset HEAD</li>
<li>【或】git reset HEAD a.txt</li>
</ul>
<h3 id="Git远程仓库"><a href="#Git远程仓库" class="headerlink" title="Git远程仓库"></a>Git远程仓库</h3><ul>
<li>【查看远程仓库】git remote</li>
<li>【查看远程仓库和url】 git remote -v</li>
<li>【增加远程仓库】git remote add upstream <a target="_blank" rel="noopener" href="https://github.com/spring-projects/spring-framework.git">https://github.com/spring-projects/spring-framework.git</a></li>
<li>【从远程仓库拉代码】git pull upstream main</li>
<li>【把本地代码push到origin仓库】git push origin</li>
</ul>
<h3 id="从git-init命令开始的流程"><a href="#从git-init命令开始的流程" class="headerlink" title="从git init命令开始的流程"></a>从git init命令开始的流程</h3><ul>
<li>【本地创建】init<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">mkdir git_repo</span><br><span class="line">cd git_repo</span><br><span class="line">git init</span><br></pre></td></tr></table></figure></li>
<li>【创建空远程仓库】<a target="_blank" rel="noopener" href="https://github.com/JavaProgrammerLB/git_repo.git">https://github.com/JavaProgrammerLB/git_repo.git</a></li>
<li>【绑定】<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git remote add origin https://github.com/JavaProgrammerLB/git_repo.git</span><br><span class="line">git remote -v</span><br></pre></td></tr></table></figure></li>
<li>【本地提交】写代码、创建好.gitignore文件<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">git add .gitignore</span><br><span class="line">git add 1.txt</span><br><span class="line">git commit -m &quot;【初始化】init&quot;</span><br><span class="line">git push origin master</span><br></pre></td></tr></table></figure></li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2021/05/23/Git%E6%95%99%E7%A8%8B/" data-id="clmk3oj38000308nydqjp7xmw" data-title="Git教程" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Git/" rel="tag">Git</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-Kubernetes教程" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/05/18/Kubernetes%E6%95%99%E7%A8%8B/" class="article-date">
  <time class="dt-published" datetime="2021-05-18T14:15:00.000Z" itemprop="datePublished">2021-05-18</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/05/18/Kubernetes%E6%95%99%E7%A8%8B/">Kubernetes教程</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h3 id="关键词"><a href="#关键词" class="headerlink" title="关键词"></a>关键词</h3><ul>
<li>pods、label、annotation、namespace</li>
</ul>
<h3 id="kubectl-get"><a href="#kubectl-get" class="headerlink" title="kubectl get"></a>kubectl get</h3><ul>
<li>kubectl get pods</li>
</ul>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">kubectl get pods --show-labels</span><br></pre></td></tr></table></figure>

<ul>
<li>kubectl get pods -L creation_method, env</li>
<li>kubectl get pods -l creation_method&#x3D;manual  </li>
<li>kubectl get pods -l env</li>
<li>kubectl get pods -l ‘!env’</li>
<li>kubectl get pods -l creation_method!&#x3D;manual</li>
<li>kubectl get pods -l env in (prod, dev)</li>
<li>kubectl get pods -l env notin (prod, dev)</li>
<li>kubectl get pods -l app&#x3D;pc, rel&#x3D;dev  </li>
<li>kubectl get nodes</li>
<li>kubectl get services </li>
<li>kubectl get secrets</li>
<li>kubectl get namespaces</li>
<li>kubectl get pods –namespace kube-system</li>
</ul>
<h3 id="kubectl-run"><a href="#kubectl-run" class="headerlink" title="kubectl run"></a>kubectl run</h3><ul>
<li>kubectl run nginx –image&#x3D;nginx</li>
<li>kubectl run k8s-tutorial-node –image yitianyigexiangfa&#x2F;k8s_node_hello_world:1.0</li>
<li>kubectl run k8s-tutorial-node –image yitianyigexiangfa&#x2F;k8s_node_hello_world:1.0 –port&#x3D;8080</li>
</ul>
<h3 id="kubectl-delete"><a href="#kubectl-delete" class="headerlink" title="kubectl delete"></a>kubectl delete</h3><ul>
<li>kubectl delete pods k8s-tutorial-node</li>
<li>kubectl delete pods -l creation_method&#x3D;manual</li>
<li>kubectl delete namespaces custom-namespaces  </li>
<li>kubectl delete secrets regsecret</li>
<li>kubectl delete rs kubia –cascade&#x3D;false</li>
</ul>
<h3 id="kubectl-create"><a href="#kubectl-create" class="headerlink" title="kubectl create"></a>kubectl create</h3><ul>
<li>kubectl create deployment demo –image&#x3D;yitianyigexiangfa&#x2F;springboot-k8s-tutorial –dry-run&#x3D;client -o&#x3D;yaml &gt; deployment.yaml</li>
<li>kubectl create service clusterip demo –tcp&#x3D;8080:8080 –dry-run&#x3D;client -o&#x3D;yaml &gt;&gt; deployment.yaml</li>
<li>kubectl create namespace custom-namespace</li>
</ul>
<h3 id="kubectl-apply"><a href="#kubectl-apply" class="headerlink" title="kubectl apply"></a>kubectl apply</h3><ul>
<li>kubectl apply -f deployment.yaml</li>
</ul>
<h3 id="kubectl-port-forward"><a href="#kubectl-port-forward" class="headerlink" title="kubectl port-forward"></a>kubectl port-forward</h3><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">kubectl port-forward svc/demo --address=0.0.0.0  8080:8080</span><br><span class="line">kubectl port-forward k8s-tutorial-fortune --address=0.0.0.0 8080:80</span><br></pre></td></tr></table></figure>

<h3 id="kubectl-config"><a href="#kubectl-config" class="headerlink" title="kubectl config"></a>kubectl config</h3><ul>
<li>kubectl config set-context kube-system-ctx –cluster&#x3D;k8s-cluster1 –user&#x3D;kubectl –namespace&#x3D;kube-system</li>
</ul>
<h3 id="kubectl-logs"><a href="#kubectl-logs" class="headerlink" title="kubectl logs"></a>kubectl logs</h3><ul>
<li>kubectl logs k8s-tutorial-node</li>
<li>kubectl logs k8s-tutorial-node -c redis</li>
</ul>
<h3 id="kubectl-label"><a href="#kubectl-label" class="headerlink" title="kubectl label"></a>kubectl label</h3><ul>
<li>kubectl label pods k8s-tutorial-node creation_method&#x3D;manual</li>
<li>kubectl label pods k8s-tutorial-node env&#x3D;prod –overwrite</li>
</ul>
<h3 id="kubectl-annotation"><a href="#kubectl-annotation" class="headerlink" title="kubectl annotation"></a>kubectl annotation</h3><ul>
<li>kubectl annotation pods k8s-tutorial-node myCompany.com&#x2F;someAnnotaion&#x3D;”foo bar”</li>
</ul>
<h3 id="kubectl-edit"><a href="#kubectl-edit" class="headerlink" title="kubectl edit"></a>kubectl edit</h3><ul>
<li>kubectl edit replicationcontroller kubia</li>
</ul>
<h3 id="kubectl-scale"><a href="#kubectl-scale" class="headerlink" title="kubectl scale"></a>kubectl scale</h3><ul>
<li>kubectl scale rc kubia –replicas&#x3D;3</li>
</ul>
<h3 id="kubectl-exec"><a href="#kubectl-exec" class="headerlink" title="kubectl exec"></a>kubectl exec</h3><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">kubectl exec k8s-tutorial-fortune -c html-generator -- cat /var/htdocs/index.html</span><br></pre></td></tr></table></figure>
      
    </div>
    <footer class="article-footer">
      <a data-url="https://www.yitianyigexiangfa.com/2021/05/18/Kubernetes%E6%95%99%E7%A8%8B/" data-id="clmk3oj3a000508nyfq2l7chj" data-title="Kubernetes教程" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Kubernetes/" rel="tag">Kubernetes</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/k8s/" rel="tag">k8s</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li></ul>

    </footer>
  </div>
  
</article>



  


  <nav id="page-nav">
    
    <a class="extend prev" rel="prev" href="/">&laquo; Prev</a><a class="page-number" href="/">1</a><span class="page-number current">2</span><a class="page-number" href="/page/3/">3</a><a class="page-number" href="/page/4/">4</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><a class="extend next" rel="next" href="/page/3/">Next &raquo;</a>
  </nav>

</section>
        
          <aside id="sidebar">
  
    

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tags/CICD/" rel="tag">CICD</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/DOCKER/" rel="tag">DOCKER</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Git/" rel="tag">Git</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/JAVA/" rel="tag">JAVA</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Kubernetes/" rel="tag">Kubernetes</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ai/" rel="tag">ai</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/brida/" rel="tag">brida</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/gradle/" rel="tag">gradle</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/k8s/" rel="tag">k8s</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/leetcode/" rel="tag">leetcode</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/spring/" rel="tag">spring</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/the-witness/" rel="tag">the witness</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/webgoat/" rel="tag">webgoat</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%81%9A%E8%8F%9C/" rel="tag">做菜</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%85%A5%E9%97%A8/" rel="tag">入门</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%88%98%E8%89%BA%E5%AF%92/" rel="tag">刘艺寒</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%89%8D%E7%AB%AF/" rel="tag">前端</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%90%8E%E7%AB%AF/" rel="tag">后端</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%91%8A%E8%AD%A6/" rel="tag">告警</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%A5%B6%E5%A5%B6/" rel="tag">奶奶</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%BD%A2%E8%B1%A1/" rel="tag">形象</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" rel="tag">数据结构</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%B8%97%E9%80%8F%E6%B5%8B%E8%AF%95/" rel="tag">渗透测试</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%B8%B8%E6%B3%B3/" rel="tag">游泳</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%8B%AC%E7%AB%8B%E5%BC%80%E5%8F%91%E8%80%85/" rel="tag">独立开发者</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%8B%AC%E7%AB%8B%E6%B8%B8%E6%88%8F/" rel="tag">独立游戏</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%9B%91%E6%8E%A7/" rel="tag">监控</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" rel="tag">知识体系</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%A0%94%E7%A9%B6/" rel="tag">研究</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%AE%97%E6%B3%95/" rel="tag">算法</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" rel="tag">网络安全</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%87%AA%E5%8A%A8%E5%8C%96/" rel="tag">自动化</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" rel="tag">计算机</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/" rel="tag">读书笔记</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E9%95%BF%E5%AE%89%E7%9A%84%E8%8D%94%E6%9E%9D/" rel="tag">长安的荔枝</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E9%AD%94%E6%96%B9/" rel="tag">魔方</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/CICD/" style="font-size: 12.5px;">CICD</a> <a href="/tags/DOCKER/" style="font-size: 10px;">DOCKER</a> <a href="/tags/Git/" style="font-size: 10px;">Git</a> <a href="/tags/JAVA/" style="font-size: 15px;">JAVA</a> <a href="/tags/Kubernetes/" style="font-size: 10px;">Kubernetes</a> <a href="/tags/ai/" style="font-size: 10px;">ai</a> <a href="/tags/brida/" style="font-size: 10px;">brida</a> <a href="/tags/gradle/" style="font-size: 10px;">gradle</a> <a href="/tags/k8s/" style="font-size: 10px;">k8s</a> <a href="/tags/leetcode/" style="font-size: 10px;">leetcode</a> <a href="/tags/spring/" style="font-size: 10px;">spring</a> <a href="/tags/the-witness/" style="font-size: 10px;">the witness</a> <a href="/tags/webgoat/" style="font-size: 10px;">webgoat</a> <a href="/tags/%E5%81%9A%E8%8F%9C/" style="font-size: 10px;">做菜</a> <a href="/tags/%E5%85%A5%E9%97%A8/" style="font-size: 10px;">入门</a> <a href="/tags/%E5%88%98%E8%89%BA%E5%AF%92/" style="font-size: 12.5px;">刘艺寒</a> <a href="/tags/%E5%89%8D%E7%AB%AF/" style="font-size: 10px;">前端</a> <a href="/tags/%E5%90%8E%E7%AB%AF/" style="font-size: 10px;">后端</a> <a href="/tags/%E5%91%8A%E8%AD%A6/" style="font-size: 10px;">告警</a> <a href="/tags/%E5%A5%B6%E5%A5%B6/" style="font-size: 10px;">奶奶</a> <a href="/tags/%E5%BD%A2%E8%B1%A1/" style="font-size: 10px;">形象</a> <a href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" style="font-size: 10px;">数据结构</a> <a href="/tags/%E6%B8%97%E9%80%8F%E6%B5%8B%E8%AF%95/" style="font-size: 10px;">渗透测试</a> <a href="/tags/%E6%B8%B8%E6%B3%B3/" style="font-size: 10px;">游泳</a> <a href="/tags/%E7%8B%AC%E7%AB%8B%E5%BC%80%E5%8F%91%E8%80%85/" style="font-size: 10px;">独立开发者</a> <a href="/tags/%E7%8B%AC%E7%AB%8B%E6%B8%B8%E6%88%8F/" style="font-size: 10px;">独立游戏</a> <a href="/tags/%E7%9B%91%E6%8E%A7/" style="font-size: 10px;">监控</a> <a href="/tags/%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/" style="font-size: 17.5px;">知识体系</a> <a href="/tags/%E7%A0%94%E7%A9%B6/" style="font-size: 12.5px;">研究</a> <a href="/tags/%E7%AE%97%E6%B3%95/" style="font-size: 10px;">算法</a> <a href="/tags/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" style="font-size: 10px;">网络安全</a> <a href="/tags/%E8%87%AA%E5%8A%A8%E5%8C%96/" style="font-size: 10px;">自动化</a> <a href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" style="font-size: 20px;">计算机</a> <a href="/tags/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/" style="font-size: 10px;">读书笔记</a> <a href="/tags/%E9%95%BF%E5%AE%89%E7%9A%84%E8%8D%94%E6%9E%9D/" style="font-size: 10px;">长安的荔枝</a> <a href="/tags/%E9%AD%94%E6%96%B9/" style="font-size: 10px;">魔方</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/09/">September 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/08/">August 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/05/">May 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/04/">April 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/02/">February 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/01/">January 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/11/">November 2022</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">March 2022</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/11/">November 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/05/">May 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/04/">April 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/08/">August 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/">September 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/">April 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/01/">January 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/12/">December 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/11/">November 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/10/">October 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/09/">September 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/08/">August 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/07/">July 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/06/">June 2015</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2023/09/15/%E5%A5%A5%E6%9C%AC%E6%B5%B7%E9%BB%98/">奥本海默</a>
          </li>
        
          <li>
            <a href="/2023/08/31/%E5%BF%AB%E4%B9%90%E6%98%AF%E4%BB%80%E4%B9%88/">快乐是什么</a>
          </li>
        
          <li>
            <a href="/2023/08/02/play%20with%20lepton%20ai/">play with lepton ai</a>
          </li>
        
          <li>
            <a href="/2023/05/31/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/">数据结构与算法</a>
          </li>
        
          <li>
            <a href="/2023/05/29/%E7%9B%91%E6%8E%A7%E7%9F%A5%E8%AF%86%E4%BD%93%E7%B3%BB/">监控知识体系</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2023 刘备<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> <br>
      <img src="https://obs202211121201.obs.cn-north-4.myhuaweicloud.com/0.png">
      <a href="https://beian.miit.gov.cn"  target="_blank">浙ICP备19027514号-1</a> <br>
      <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33010502005766"/><p>浙公网安备 33010502005766号</p></a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    


<script src="/js/jquery-3.6.4.min.js"></script>



  
<script src="/fancybox/jquery.fancybox.min.js"></script>




<script src="/js/script.js"></script>





  </div>
</body>
</html>